<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>折叠面板</title>
  <link rel="stylesheet" href="style.css">

</head>

<body>
  <div class="container">
    <div class="panel active" style="background-image: url('images/bg1.jpg');">
      <h3>风景图1</h3>
    </div>
    <div class="panel" style="background-image: url('images/bg2.jpeg');">
      <h3>风景图2</h3>
    </div>
    <div class="panel" style="background-image: url('images/bg3.jpeg');">
      <h3>风景图3</h3>
    </div>
    <div class="panel" style="background-image: url('images/bg2.jpeg');">
      <h3>风景图4</h3>
    </div>
    <div class="panel" style="background-image: url('images/bg1.jpg');">
      <h3>风景图5</h3>
    </div>

  </div>

  <script src="script.js"></script>
</body>

</html>